home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / AddOns / Components / RealTime Graphics ActiveX / DATA.3 / Examples / CPP / UITools / qcscrbar.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-10-21  |  3.0 KB  |  92 lines

  1. #if !defined(AFX_QCSCRBAR_H__13FCF017_4A14_11D1_A956_00C0F6A06F60__INCLUDED_)
  2. #define AFX_QCSCRBAR_H__13FCF017_4A14_11D1_A956_00C0F6A06F60__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8.  
  9. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  10. //  Microsoft Visual C++, your modifications will be overwritten.
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CQCScrBar wrapper class
  14.  
  15. class CQCScrBar : public CWnd
  16. {
  17. protected:
  18.     DECLARE_DYNCREATE(CQCScrBar)
  19. public:
  20.     CLSID const& GetClsid()
  21.     {
  22.         static CLSID const clsid
  23.             = { 0x8d7e8747, 0xe6f5, 0x11d0, { 0xa9, 0x56, 0x0, 0xc0, 0xf6, 0xa0, 0x6f, 0x60 } };
  24.         return clsid;
  25.     }
  26.     virtual BOOL Create(LPCTSTR lpszClassName,
  27.         LPCTSTR lpszWindowName, DWORD dwStyle,
  28.         const RECT& rect,
  29.         CWnd* pParentWnd, UINT nID,
  30.         CCreateContext* pContext = NULL)
  31.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  32.  
  33.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  34.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  35.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  36.         BSTR bstrLicKey = NULL)
  37.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  38.         pPersist, bStorage, bstrLicKey); }
  39.  
  40. // Attributes
  41. public:
  42.     CString GetControlTitleFont();
  43.     void SetControlTitleFont(LPCTSTR);
  44.     long GetControlTitleColor();
  45.     void SetControlTitleColor(long);
  46.     long GetControlTitleFontStyle();
  47.     void SetControlTitleFontStyle(long);
  48.     long GetControlTitleFontSize();
  49.     void SetControlTitleFontSize(long);
  50.     long GetControlBorderStyle();
  51.     void SetControlBorderStyle(long);
  52.     long GetControlBorderColor();
  53.     void SetControlBorderColor(long);
  54.     long GetControlColor();
  55.     void SetControlColor(long);
  56.     long GetControlBackgroundColor();
  57.     void SetControlBackgroundColor(long);
  58.     double GetControlBottom();
  59.     void SetControlBottom(double);
  60.     double GetControlInitialPosition();
  61.     void SetControlInitialPosition(double);
  62.     double GetControlLeft();
  63.     void SetControlLeft(double);
  64.     double GetControlMaximum();
  65.     void SetControlMaximum(double);
  66.     double GetControlMinimum();
  67.     void SetControlMinimum(double);
  68.     double GetControlPageStep();
  69.     void SetControlPageStep(double);
  70.     double GetControlRight();
  71.     void SetControlRight(double);
  72.     double GetControlSingleStep();
  73.     void SetControlSingleStep(double);
  74.     double GetControlTop();
  75.     void SetControlTop(double);
  76.     long GetControlBorderThickness();
  77.     void SetControlBorderThickness(long);
  78.     CString GetControlTitleString();
  79.     void SetControlTitleString(LPCTSTR);
  80.  
  81. // Operations
  82. public:
  83.     void UpdateControl();
  84.     void SetScrollBarPos(double rPos);
  85.     void AboutBox();
  86. };
  87.  
  88. //{{AFX_INSERT_LOCATION}}
  89. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  90.  
  91. #endif // !defined(AFX_QCSCRBAR_H__13FCF017_4A14_11D1_A956_00C0F6A06F60__INCLUDED_)
  92.